﻿<!doctype html>
<html>
<head>
<title>杭州民宿网-密码重置</title>
<meta name="Keywords" content="杭州民宿预定">
<meta name="Description" content="杭州民宿预定">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta content="width='device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0;'" name="viewport" />
<link rel="shortcut icon" type="image/x-icon" href="../images/favicon.ico" media="screen" />
<link rel="stylesheet" type="text/css" href="http://cdn.teemax.com.cn/hzminsu/css/common.css">
<!--[if lte IE 8]><link href="http://cdn.teemax.com.cn/hzminsu/css/ie.css" rel="stylesheet" type="text/css" /><![endif]-->
<!--[if lte IE 7]><link href="http://cdn.teemax.com.cn/hzminsu/css/ie7.css" rel="stylesheet" type="text/css" /><![endif]-->
<link rel="stylesheet" type="text/css" href="http://cdn.teemax.com.cn/hzminsu/css/user.css">
<link rel="stylesheet" type="text/css" href="http://cdn.teemax.com.cn/hzminsu/css/sweetalert.css" />
</head>
<body>
   <div class="fullBody loginbg">
       <div class="login">
       	    <div class="login_logo">
       	    	<img src="http://cdn.teemax.com.cn/hzminsu/images/index/logo.png">
       	    </div>
            <div class="login_box loginbox">	
            	<!--账号密码登录-->
                <div class="login_boxcon code_box">
                	<div class="login_boxcon_center">
	                	<div class="settitle">
	                		重置密码
	                	</div>
	                	<div class="login_form" >
		            		<form class="infoForm">
		            			<p class="account comm-margin">
		            				<label>账&nbsp&nbsp&nbsp&nbsp号</label>
				                    <input type="text" onchange="checkUsername()" class="comminput user-name" id="js_loginName" placeholder="输入原始密码">
				                    <span class="tip js_errortip" id="usertextmsg"></span>
				                </p>

				                <p class="code comm-margin">
		            				<label>图形码</label>
				                    <input type="text" id="code-input"  class="user-code" placeholder="输入">
				                    <span class="tip js_errortip" ></span>
				                    <input type="button" id="checkCode" class="checkcode"> 
				                </p>
				                <p class="comm-margin">
				                	<button type="button" class="submitReg" id="submitReg">下一步</button>
				                </p>
				                <p class="passtip">
				                	<a class="loginlink" href="regist">立即注册</a>
				                </p>
		            		</form>
	                	</div>
	                </div>
                </div>
                <!--验证码登录-->
               
            </div>
         </div>
   </div>
</body>
</html>
<script type="text/javascript" src="../../static/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="../js/require.js"></script>
<script type="text/javascript" src="../js/require-config.js"></script>
<script type="text/javascript">
	   function checkUsername(){ 
    var text = document.getElementById('js_loginName').value;
    if(!(/^1[3456789]\d{9}$/.test(text))){ 
    	
    	 if(!(/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(text))){ 
    	   $("#usertextmsg").text("账号错误!");
    	 }   	      
    }else{
    	$("#usertextmsg").text("");
    }
      
      return false; 
}
	
</script>

